<html>
<body>
<h2>Hello World!</h2>
<a href="#" onclick="change2()">重定向</a>
</body>
<script>
	function change2() {
		alert("aaaa");
		 window.location.href = "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd\u003d_express-checkout\u0026token\u003dEC-1MU041539A644562S";
	}
</script>
</html>
